package com.zjdiepu.www.model.base.request;

import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;

import org.hibernate.validator.constraints.NotBlank;

/**
 * 项目名称：diepu-parent-model <br/> 
 * 类名称：AttachmentsRequest <br/>  
 * 类描述： 附件请求<br/>    
 * 创建人：xiongxiaotun <br/> 
 * 创建时间：2017年6月6日 上午10:14:44  <br/>   
 * 修改人：xiongxiaotun <br/> 
 * 修改时间：2017年6月6日 上午10:14:44   <br/>  
 * 修改备注：    <br/> 
 * @version V1.0   <br/>
 */
public class AttachmentsRequest implements Serializable {
	private static final long serialVersionUID = 1L;
	/**
	 * 模块标识
	 */
	@ApiModelProperty(name="modeId",required=false,value="模块标识",example="模块标识")
	private String modeId;
	
	/**
	 * 关联数据
	 */
	@ApiModelProperty(name="dataid",required=true,value="关联数据",example="关联数据")
	@NotBlank(message="附件依附数据ID{message.null}")
	private String dataid;
	
	/**
	 * 字表数据标识
	 */
	@ApiModelProperty(name="subDataid",required=false,value="字表数据标识",example="字表数据标识")
	private String subDataid;
	/**
	 * 附件类别
	 */
	@ApiModelProperty(name="attachmentSort",required=true,value="附件类别",example="附件类别")
	@NotBlank(message="附件类别{message.null}")
	private String attachmentSort;
	
	/**
	 * 附件标签
	 */
	@ApiModelProperty(name="attachmentLabel",required=true,value="附件标签",example="附件标签")
	private String attachmentLabel;
	
	public String getModeId() {
		return modeId;
	}
	public void setModeId(String modeId) {
		this.modeId = modeId;
	}
	public String getDataid() {
		return dataid;
	}
	public void setDataid(String dataid) {
		this.dataid = dataid;
	}
	public String getSubDataid() {
		return subDataid;
	}
	public void setSubDataid(String subDataid) {
		this.subDataid = subDataid;
	}
	public String getAttachmentSort() {
		return attachmentSort;
	}
	public void setAttachmentSort(String attachmentSort) {
		this.attachmentSort = attachmentSort;
	}
	public final String getAttachmentLabel() {
		return attachmentLabel;
	}
	public final void setAttachmentLabel(String attachmentLabel) {
		this.attachmentLabel = attachmentLabel;
	}
}
